<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="mfuny.ggongal.admin.manager.Manager"%>
<%@ page import="mfuny.ggongal.admin.debug.Debug" %>
<%@ page import="org.json.simple.*" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%
request.setCharacterEncoding( "utf-8" );
response.setContentType( "text/html; charset=utf-8" );

Manager manager = new Manager();

String tag = request.getParameter("tag");

//서버정보 가져오기.
if(tag.equals("manager_getServerStatus")) {
	try{
		out.print(manager.getServerInfo().toJSONString());
	}catch(Exception e){
		Debug.toDebugFile(e, tag);
	}
}
%>